<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 老猫 <thinkcmf@126.com>
// +----------------------------------------------------------------------
namespace app\wap\model;
use think\Model;
class PaymentsModel extends Model
{
	/*获取通道*/
	public function getAisle($code=null,$payCode=null){
		if(!empty($code)){
			$map['code'] = $code;
		}
		if(!empty($payCode)){
			$map['pay_code'] = $payCode;
		}
		$map['status'] = 1;
		$results = db('PaymentAisle')->where($map)->select();
		return $results;
	}
}